import java.io.*;
import java.util.*;
public class Save {

	public void loadSave(File loadPath)
	{
		try{
		Scanner loadScanner = new Scanner(loadPath);
		
		
		while(loadScanner.hasNext())//begin while
		{
			for(int i=0; i<Window.room.blockArray.length; i++) //for 1
			{
				for(int j=0; j<Window.room.blockArray[0].length; j++)
				{
					Window.room.blockArray[i][j].groundID = loadScanner.nextInt();
				}
			}
			
			
			for(int i=0; i<Window.room.blockArray.length; i++) //for 2
			{
				for(int j=0; j<Window.room.blockArray[0].length; j++)
				{
					Window.room.blockArray[i][j].airID = loadScanner.nextInt();
				}
			}
			
		}//end while
		
		
		loadScanner.close();
		}
		catch(Exception e){ }
	}
	
	
	
}
